package com.bestillet.kyllingogco;

import java.util.ArrayList;

public class MixGroup extends Mix {
	private ArrayList<Mix> mix;
	
	private int antal;
	
	public MixGroup(String navn, String label, int idx, int type, int antal) {
		super(navn, label, true, idx, type, 0);
		this.antal = antal;
		mix = new ArrayList<Mix>();
	}
	
	public MixGroup() {
		super();
		mix = new ArrayList<Mix>();
	}

	public int getAntal() {
		return antal;
	}

	public void setAntal(int antal) {
		this.antal = antal;
	}
	
	public ArrayList<Mix> getMix() {
		return mix;
	}
	
	public void addMix(Mix m) {
		mix.add(m);
	}
	
	public void removeMix(Mix m) {
		mix.remove(m);
	}
}